#pragma once
#include <iostream>

class ContactsException
{
public:
    ContactsException(std::string str = "A problem") 
    :_message(str)
    {}

    std::string what() const { return _message;}
private:
    std::string _message;
};